package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallUserCollectDao;
import com.appkubes.mall.core.entity.MallUserCollect;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallUserCollectService extends AbstractBaseService<BaseMallUserCollectDao, MallUserCollect> {

    MallUserCollect getOneByEntity(MallUserCollect entity);

    List<MallUserCollect> selectListByEntity(MallUserCollect entity);

    IPage<MallUserCollect> selectPageByEntity(IPage<MallUserCollect> page);
    IPage<MallUserCollect> selectPageByEntity(PageVO pageVO);

    IPage<MallUserCollect> selectPageByEntity(MallUserCollect entity, IPage<MallUserCollect> page);
    IPage<MallUserCollect> selectPageByEntity(MallUserCollect entity, PageVO pageVO);

    IPage<MallUserCollect> selectPageByEntity(MallUserCollect entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallUserCollect entity);
}
